<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>选择器练习</title>
    <style>
        #zxy{
            color: green;
        }
        .c1{
            color: blue;
        }
        h1,h2{
            background-color: yellow;
        }
        [type='submit']{
            background-color: red;
        }
        *{
            border: 1px solid blue;
        }
    </style>
</head>
<body>
    <center>
        <ul>
            <li class="c1">豹子头林冲</li>
            <li id="zxy">黑旋风李逵</li>
            <li>花和尚鲁智深</li>
        </ul>
        <h1 class="c1">方天画戟</h1>
        <h1>青龙偃月刀</h1>
        <h1>丈八蛇矛</h1>
        <h2>双股剑</h2>
        <input type="submit" value="提交按钮">
        <input type="button" value="普通按钮">
    </center>
</body>
</html>